package zzg.study.protocol.response;

import lombok.Data;
import lombok.EqualsAndHashCode;
import zzg.study.protocol.Packet;
import zzg.study.session.Session;

import static zzg.study.protocol.command.Command.GROUP_MESSAGE_RESPONSE;

/**
 * @Classname GroupMessageResponsePacket
 * @Description 群消息响应packet
 * @Date 2023/12/10 0:53
 * @Author zhuzhenguo
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class GroupMessageResponsePacket extends Packet {

    private String fromGroupId;

    private Session fromUser;

    private String message;

    @Override
    public Byte getCommand() {

        return GROUP_MESSAGE_RESPONSE;
    }
}
